#include <stdio.h>
#include <stdlib.h>
#include <math.h>
int main()
{
    int min,n,num,i;
    scanf("%d",&n);
    scanf("%d",&num);
    min = num;
    for(i=0;i<n;i++)
    {
        scanf("%d",&num);
        if(min>num)
        {
            min = num;
        }
    }
    printf("min = %d",min);
    return 0;
}
